package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.BpWorkSafetySpaceAnalyze;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BpWorkSafetySpaceAnalyzeDao extends JpaRepository<BpWorkSafetySpaceAnalyze, Long> {
    List<BpWorkSafetySpaceAnalyze> findByCertId(Long id);

    void deleteByCertId(Long id);
}
